import React,{useEffect,useState} from 'react'
import {useLocation,useParams} from 'react-router-dom'

interface detai{
  title?:string;
  img?:string;
}
export default function Xq() {
  const Location: unknown=useLocation()
  const [del,setdel]=useState<detai>({})
  useEffect(()=>{
// setdel(Location.state as detai)

  },[])
  return (
    <div>Xq
   <p>

   </p>
      
    </div>
  )
}
